FSEEK

Section: MiNT SYSTEM CALLS (2)
Updated: 3 March 1993
Index Return to Main Contents
 

NAME

Fseek - move read/write file pointer  

SYNOPSIS

#include <osbind.h>

long Fseek(long offset, int handle, int seekmode);
 

DESCRIPTION

The file-pointer of the file indicated by handle is set according to the seekmode parameter:

  0: the pointer is set to offset bytes
  1: the pointer is set to its current location
     plus offset
  2: the pointer is set to the size of the file
     plus offset  

RETURN VALUES

The new position of the file pointer is returned.
 

Index

NAME
SYNOPSIS
DESCRIPTION
RETURN VALUES

This document was created by man2html, using the manual pages.
Time: 11:14:10 GMT, June 22, 2025